package com.javasea.web.httpclient.restTemplate;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 *@ClassName config
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2020/12/15 0015 14:15
 */
@Configuration
public class config {
    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
